#ifndef TEXTWIDGET_H
#define TEXTWIDGET_H

#include <QWidget>

namespace Ui {
class textWidget;
}

class textWidget : public QWidget
{
    Q_OBJECT

public:
    explicit textWidget(QWidget *parent = nullptr);
    ~textWidget();


    void setinUI(uint8_t flag);
signals:
    void textdisplay_SendData(char *data,int len);


public slots:
    void textdisplay_RecvData(QByteArray data,QString hex_string);
private:
    Ui::textWidget *ui;


    uint64_t recv_data_len;
    uint64_t send_data_len;

    uint8_t inUI_flag;
};

#endif // TEXTWIDGET_H
